package net.zjitc.service;

import net.zjitc.pojp.AdminUser;
import net.zjitc.pojp.CateGory;
import net.zjitc.pojp.CateGorySecond;
import net.zjitc.pojp.User;
import net.zjitc.service.impl.UserServiceImpl;

import java.util.List;

/**
 * Created by lenovo on 2017/11/11.
 */
public interface UserService {

    List<User> findAll();

    void delete(String uid);


    User findByUsername(String username);

    User findByCode(String code);

    int update(User user);

    int save(User user);
}
